package com.nlp.visualization.pojo.crawler;

import java.util.LinkedList;
import java.util.List;

/**
 * @author LXM
 * @Title: ${file_name}
 * @Description: ${todo}
 * @date 2018/3/4下午12:01
 */
public class NewsJson {


    /**
     * lastest : 199999999
     * source : sina
     * items : [{"title":"","content":"","datetime":"","url":""},{"title":"","content":"","datetime":"","url":""}]
     */

    private String date;
    private String source;
    private List<ItemsBean> items;

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public List<ItemsBean> getItems() {
        return items;
    }

    public void setItems(List<ItemsBean> items) {
        this.items = items;
    }

    public NewsJson() {
        items = new LinkedList<>();
    }

    public static class ItemsBean {
        /**
         * title :
         * content :
         * datetime :
         * url :
         */
        private String title;
        private String content;
        private String datetime;
        private String url;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getDatetime() {
            return datetime;
        }

        public void setDatetime(String datetime) {
            this.datetime = datetime;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }
}
